export const state = () => ({
  history: []
})

export const mutations = {
  pushHistory(state, data) {
    state.history.unshift(data);
  }
}

